function medianSY = eegPeaks(data, Wn, samplingRate, bptrPath)

filtered = filterEEG(data, Wn);

load(bptrPath);

[medianSY, windowsCount] = nn(filtered, W1, W2, B1, B2, samplingRate);

